<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>
<?php doAction('index_loglist_top'); ?>
    <div class="post">
    	<ul>
 <?php foreach($logs as $value): ?>
        	<li class="postli">
            	<div class="top">
				 <div class="editor"><?php editflg($value['logid'],$value['author']); ?></div>
                <h2><?php topflg($value['top']); ?><a href="<?php echo $value['log_url']; ?>"><?php echo $value['log_title']; ?></a></h2>
                <p><?php blog_sort($value['logid']); ?></p>
               
                </div>
                <div class="time">post by <?php blog_author($value['author']); ?> / <?php echo gmdate('Y-n-j G:i l', $value['date']); ?></div>
                <div class="content"><?php echo $value['log_description']; ?></div>
                <div class="fujian"><?php blog_att($value['logid']); ?></div>
       <div class="tags"><?php blog_tag($value['logid']); ?></div>
       <div class="under"><a href="<?php echo $value['log_url']; ?>#comment">评论(<?php echo $value['comnum']; ?>)</a>
	<a href="<?php echo $value['log_url']; ?>#tb">引用(<?php echo $value['tbcount']; ?>)</a> 
	<a href="<?php echo $value['log_url']; ?>">浏览(<?php echo $value['views']; ?>)</a> </div>
                <div class="bottom"></div>
            </li> 
<?php endforeach; ?>
        </ul>
        <div class="pagenavi"><?php echo $page_url;?></div>
    </div>
    <!--postend-->

<?php
 include View::getView('side');
 include View::getView('footer'); 
?>